package com.stu.mapper;

import com.stu.Pojo.DePartment;
import com.stu.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentMapper {
    //查询所有的方法
    List <DePartment> selectALL();
    DePartment  selectByid(Long id);
   void insert(DePartment dePartment);
   void update(DePartment dePartment);
    void delete(Long id);
    //分页查询
    List <DePartment> SelectByPage(DepartmentQuery dq);
    Long count(DepartmentQuery query);

    void batchRemove(List<Long> ids);
}
